package com.navinfo.data.journal;

public class TripRecord {
    long src;
    long dst;
    int routeIntegralMileage;
    int routeStartTime;
    int routeEndTime;

    @Override
    public String toString() {
        return "TripRecord[src=" + src + ",dst=" + dst + ",routeIntegralMileage=" + routeIntegralMileage
                + ",routeStartTime=" + routeStartTime+ ",routeEndTime=" + routeEndTime+ "]";
    }

    public TripRecord(long src, long dst, int routeIntegralMileage, int routeStartTime, int routeEndTime) {
        this.src = src;
        this.dst = dst;
        this.routeIntegralMileage = routeIntegralMileage;
        this.routeStartTime = routeStartTime;
        this.routeEndTime = routeEndTime;
    }

    public long getSrc() {
        return src;
    }

    public void setSrc(long src) {
        this.src = src;
    }

    public long getDst() {
        return dst;
    }

    public void setDst(long dst) {
        this.dst = dst;
    }

    public int getRouteIntegralMileage() {
        return routeIntegralMileage;
    }

    public void setRouteIntegralMileage(int routeIntegralMileage) {
        this.routeIntegralMileage = routeIntegralMileage;
    }

    public int getRouteStartTime() {
        return routeStartTime;
    }

    public void setRouteStartTime(int routeStartTime) {
        this.routeStartTime = routeStartTime;
    }

    public int getRouteEndTime() {
        return routeEndTime;
    }

    public void setRouteEndTime(int routeEndTime) {
        this.routeEndTime = routeEndTime;
    }
}
